source/girtod.d(52,77): Error: cannot take address of local `printFree` in `@safe` function `main` source/girtod.d(61,7): Error: `@safe` function `D main` cannot call `@system` function `core.stdc.stdlib.exit` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(169,9): `core.stdc.stdlib.exit` is declared here source/girtod.d(104,8): Error: `@safe` function `D main` cannot call `@system` function `gtd.Log.error!(WrapException).error` source/gtd/Log.d(52,6): `gtd.Log.error!(WrapException).error` is declared here source/girtod.d(133,7): Error: `@safe` function `girtod.handlePrintFiles` cannot call `@system` function `core.stdc.stdlib.exit` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(169,9): `core.stdc.stdlib.exit` is declared here source/girtod.d(150,9): Error: `@safe` function `girtod.handlePrintFiles` cannot call `@system` function `gtd.Log.error!string.error` source/gtd/Log.d(52,6): `gtd.Log.error!string.error` is declared here source/girtod.d(154,8): Error: `@safe` function `girtod.handlePrintFiles` cannot call `@system` function `gtd.Log.error!(string, string, string).error` source/gtd/Log.d(52,6): `gtd.Log.error!(string, string, string).error` is declared here source/gtd/GirField.d(361,11): Error: `@safe` function `gtd.GirField.GirField.writeGetter` cannot call `@system` function `gtd.Log.error!(string, string, string, string, string).error` source/gtd/Log.d(52,6): `gtd.Log.error!(string, string, string, string, string).error` is declared here source/gtd/GirPackage.d(89,9): Error: `@safe` function `gtd.GirPackage.GirPackage.parseGIR` cannot call `@system` function `gtd.Log.error!(string, string, string).error` source/gtd/Log.d(52,6): `gtd.Log.error!(string, string, string).error` is declared here source/gtd/GirPackage.d(151,20): Error: `@safe` function `gtd.GirPackage.GirPackage.parseGIR` cannot call `@system` function `gtd.GirAlias.GirAlias.parse!string.parse` source/gtd/GirAlias.d(41,7): `gtd.GirAlias.GirAlias.parse!string.parse` is declared here source/gtd/GirPackage.d(169,19): Error: `@safe` function `gtd.GirPackage.GirPackage.parseGIR` cannot call `@system` function `gtd.GirEnum.GirEnum.parse!string.parse` source/gtd/GirEnum.d(48,7): `gtd.GirEnum.GirEnum.parse!string.parse` is declared here source/gtd/GirStruct.d(240,4): Error: none of the overloads of `opApply` are callable using argument types `(int delegate(ref GirFunction __applyArg0) pure nothrow @nogc @system)`, candidates are: source/gtd/LinkedHasMap.d(189,6): `gtd.LinkedHasMap.Map!(string, GirFunction).LinkedHashMap.opApply(scope int delegate(ref GirFunction) dg)` source/gtd/LinkedHasMap.d(206,6): `gtd.LinkedHasMap.Map!(string, GirFunction).LinkedHashMap.opApply(scope int delegate(ref string, ref GirFunction) dg)` source/gtd/GirPackage.d(177,21): Error: template instance `gtd.GirStruct.GirStruct.parse!string` error instantiating source/gtd/GirPackage.d(177,21): Error: `@safe` function `gtd.GirPackage.GirPackage.parseGIR` cannot call `@system` function `gtd.GirStruct.GirStruct.parse!string.parse` source/gtd/GirStruct.d(98,7): `gtd.GirStruct.GirStruct.parse!string.parse` is declared here source/gtd/GirPackage.d(193,20): Error: `@safe` function `gtd.GirPackage.GirPackage.parseGIR` cannot call `@system` function `gtd.GirFunction.GirFunction.parse!string.parse` source/gtd/GirFunction.d(87,7): `gtd.GirFunction.GirFunction.parse!string.parse` is declared here source/gtd/GirPackage.d(197,19): Error: `@safe` function `gtd.GirPackage.GirPackage.parseGIR` cannot call `@system` function `gtd.GirPackage.GirPackage.parseConstant!string.parseConstant` source/gtd/GirPackage.d(213,7): `gtd.GirPackage.GirPackage.parseConstant!string.parseConstant` is declared here source/gtd/GirPackage.d(200,19): Error: `@safe` function `gtd.GirPackage.GirPackage.parseGIR` cannot call `@system` function `gtd.GirPackage.GirPackage.parseFunction!string.parseFunction` source/gtd/GirPackage.d(252,7): `gtd.GirPackage.GirPackage.parseFunction!string.parseFunction` is declared here source/gtd/GirPackage.d(207,11): Error: `@safe` function `gtd.GirPackage.GirPackage.parseGIR` cannot call `@system` function `gtd.Log.error!(string, string, string, string, XMLReader!string).error` source/gtd/Log.d(52,6): `gtd.Log.error!(string, string, string, string, XMLReader!string).error` is declared here source/gtd/GirPackage.d(344,9): Error: `@safe` function `gtd.GirPackage.GirPackage.writeClasses` cannot call `@system` function `gtd.Log.error!(string, string).error` source/gtd/Log.d(52,6): `gtd.Log.error!(string, string).error` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(36,28): Error: template instance `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char)` error instantiating /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.